/**
 * @description 数据
*/

import { DEnum, OptionEnum } from '@daelui/dogjs/dist/components.js'

export default {
  // 忽略目录
  ignoreDir: 'node_modules;npm-cache;.git;.cache;_cacache',
  // 目录类型
  directTypes: new DEnum([
    {key: 'DIR', text: '系统目录'},
    {key: 'DIR_SIMULATE', text: '模拟目录'},
    {key: 'FILE', text: '文件'}
  ]),
  // 启用与禁用状态
  enableStatus: new OptionEnum([
    {key: 'ENABLE', id: 1, text: '启用'},
    {key: 'DISABLE', id: 0, text: '禁用'}
  ], { valueKey: 'id' }),
  // 导航类型
  pageTypeList: new OptionEnum([
    {key: 'NORMAL', id: 1, text: '普通'},
    {key: 'RESOURCE_PAGE', id: 2, text: '引用'},
    {key: 'ENVIRMENT_MATCH', id: 3, text: '环境匹配'}
  ], { hasAll: false, valueKey: 'id' }),
  // 页签风格
  tabTypeList: new OptionEnum([
    {key: 'underline', text: '下划线'},
    {key: 'beforeline', text: '上划线'},
    {key: 'leftline', text: '左划线'},
    {key: 'rightline', text: '右划线'}
  ], { hasAll: false }),
  // 页签位置
  tabPositionList: new OptionEnum([
    {key: 'top', text: '头部'},
    {key: 'side-left', text: '左侧'},
    {key: 'side-right', text: '右侧'},
    {key: 'bottom', text: '底部'}
  ], { hasAll: false })
}
